package com.niuwa.p2p.service.impl.business;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niuwa.p2p.dao.business.CustClaimDao;
import com.niuwa.p2p.entity.business.CustClaim;
import com.niuwa.p2p.service.business.ICustClaimService;

@Service
public class CustClaimServiceImpl implements ICustClaimService {
	
	@Autowired
	private CustClaimDao claimDao;

	@Override
	public List<CustClaim> selectCustClaimByProdCode(String prodCode) {
		return claimDao.selectCustClaimByProdCode(prodCode);
	}

	@Override
	public CustClaim selectCustClaimByCreditNo(String creditNo) {
		return claimDao.selectCustClaimByCreditNo(creditNo);
	}
	
}
